package grape.workflow.rest.definition;

import grape.common.rest.form.BaseForm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Created by yangwei
 * Created at 2020/7/2 11:51
 */
@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel("流程定义某个版本查询数据对象")
public class SomeVersionForm extends BaseForm {

    @ApiModelProperty("可以发起流程的配置id")
    private String canStartProcessId;

    @ApiModelProperty("流程定义key")
    private String processDefinitionKey;

    @ApiModelProperty("流程定义的版本")
    private Integer processDefinitionVersion;

    @ApiModelProperty("是否使用最新版本")
    private Boolean isUseLatestVersion;
}
